﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>ICommonAppService.cs</FileName>
// <CreateTime>2017-04-27 21:39</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-27 21:39" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.Threading.Tasks;
using Abp.Application.Services;

namespace Vecen.BangChuang.BangChuang.Common {
    /// <summary>
    /// 
    /// </summary>
    public interface ISettingAppService: IApplicationService {

        /// <summary>
        /// 设置是否显式成本价
        /// </summary>
        /// <param name="isDisplay"></param>
        /// <returns></returns>
        Task SetDisplayCostAsync(bool isDisplay);

        /// <summary>
        /// 设置是否在分享界面上显式价格
        /// </summary>
        /// <param name="isDisplay"></param>
        /// <returns></returns>
        Task SetDisplayPriceOnShareAsync(bool isDisplay);

        /// <summary>
        /// 获得欢迎页背景图片
        /// </summary>
        /// <returns></returns>
        Task<int?> GetWelcomeBgAsync();
    }
}